2004-10-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
+ the completions again after tab. (#147700, Jens Bech Madsen)
+
* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
before changing the selection to make the file chooser preview
update work better. (#143826, Tommi Komulainen)
2004-10-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
+ the completions again after tab. (#147700, Jens Bech Madsen)
+
* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
before changing the selection to make the file chooser preview
update work better. (#143826, Tommi Komulainen)
2004-10-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
+ the completions again after tab. (#147700, Jens Bech Madsen)
+
* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
before changing the selection to make the file chooser preview
update work better. (#143826, Tommi Komulainen)
2004-10-06 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
+ the completions again after tab. (#147700, Jens Bech Madsen)
+
* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
before changing the selection to make the file chooser preview
update work better. (#143826, Tommi Komulainen)
(GTK_WIDGET_HAS_FOCUS (widget)) &&
(! control_pressed))
{
+ gint pos = 0;
+
if (chooser_entry->has_completion)
- {
- gtk_editable_set_position (GTK_EDITABLE (widget),
- GTK_ENTRY (widget)->text_length);
- }
+ gtk_editable_set_position (GTK_EDITABLE (widget),
+ GTK_ENTRY (widget)->text_length);
+ /* Trigger the completion window to pop up again by a
+ * zero-length insertion, a bit of a hack.
+ */
+ gtk_editable_insert_text (GTK_EDITABLE (widget), "", -1, &pos);
+
return TRUE;
}
else